package com.hoshiibuy.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshiibuy.dictionary.mapper.IDicDataBankMapper;

import com.hoshiibuy.dictionary.service.IDicDataBankService;
import com.hoshiibuy.dictionary.entity.DicDataBankVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author guangjinwei
 * @create 2019-04-18
 */
@Service
public class DicDataBankServiceImpl extends ServiceImpl<IDicDataBankMapper, DicDataBankVo> implements IDicDataBankService {

    @Override
    public void saveDicDataBank(DicDataBankVo dicDataBankVo) {
        baseMapper.insert(dicDataBankVo);
    }

    @Override
    public List<DicDataBankVo> findDicDataBankList() {
        return baseMapper.findDicDataBankList();
    }
}
